[Java] Cannot find symbol
Posted
by m00st
on Stack Overflow
See other posts from Stack Overflow
or by m00st
Published on 2010-06-18T02:41:43Z
Indexed on
2010/06/18
2:43 UTC
Read the original article
Hit count: 325
I've created a class called Entity
this is the superclass. Actor
has successfully extended Entity
; now trying to do the same with Item
results in the Cannot find symbol error.
Here is example code:
public class Actor extends Entity
{
Actor(String filename, int x, int y)
{
super(filename, x, y);
}
}
works just fine but this doesn't:
public class Item extends Entity
{
}
© Stack Overflow or respective owner